package Javatest2.iftest;

import java.util.Scanner;

public class test4 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入一个整数");
        int a = scanner.nextInt();
        System.out.println("请输入一个整数");
        int b = scanner.nextInt();
        System.out.println("请输入一个整数");
        int c = scanner.nextInt();
        int r;
        if (a > b) {
            r = a;
            a = b;
            b = r;
        }

        if (a > c) {
            r = a;
            a = c;
            c = r;
        }
        if (b > c) {
            r = b;
            b = c;
            c = r;
        }
        System.out.println(a + "<" + b + "<S" + c);


    }
}
